package com.isoft.airportsystem.service.impl;


import com.isoft.airportsystem.entity.CFIE.CRFT_CFIE;
import com.isoft.airportsystem.entity.META;
import com.isoft.airportsystem.mapper.CFIEMapper;
import com.isoft.airportsystem.mapper.MetaMapper;
import com.isoft.airportsystem.service.CFIEService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.UUID;

@Service
public class CFIEServiceImpl implements CFIEService {
    @Resource
    private CFIEMapper cfieMapper;

    @Resource
    private MetaMapper metaMapper;
    @Override
    public Integer add(CRFT_CFIE cfie, META meta) {
        String metaid = UUID.randomUUID().toString().replace("-", "").toLowerCase();
        cfieMapper.add(cfie, metaid);
        metaMapper.add(meta,metaid);
        return null;
    }
}
